package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.model.WholesaleSkuModel;
import com.ygqh.baby.po.YgWholesalerSku;

/**
 * @author Ss
 */
public interface YgWholesalerSkuService {

	List<YgWholesalerSku> find();

	int findCount();

	YgWholesalerSku findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgWholesalerSku ygWholesalerSku);

	int update(YgWholesalerSku ygWholesalerSku);

	int saveOrUpdate(YgWholesalerSku ygWholesalerSku);

	void saveWholesalePrice(List<YgWholesalerSku> list, Long wholesalerId, String handler);

	List<YgWholesalerSku> findBySkuCode(List<String> skuCodeList, Long wholesalerId);

	ResultSet<WholesaleSkuModel> search(QueryInfo queryInfo, String wholesalerName, String productName);

	List<YgWholesalerSku> findBySkuCodeAndWholesaleName(List<String> skuCodeList, List<String> wholesalerNameList);
}
